<!--# layout("/common/layout.html",{"jsBase":"/js/cms/insurance/"}){ -->

<form class="layui-form" id="updateForm" AUTOCOMPLETE="OFF">
    <!--# include("/cms/common/basic.html",{"basic":insurance}){} -->
    <!--# include("commonedit.html"){} -->
    <layui:personnelsubmitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var insuranceEdit = layui.edit
    insuranceEdit.init();
});


layui.use('laydate', function(){
    var laydate = layui.laydate;
    laydate.render({
        elem: '#insuranceStartTime'
        ,done: function(value, date){
            var time=$("#insuranceStartTime").val();
            $("#insuranceEndTime").val(Number(time.split("-")[0])+5+"-"+time.split("-")[1]+"-"+time.split("-")[2]);
        }
    });
});
</script>
